def main():
    p = Parent()
    print(p.var1)
    c = Child()
    print(c.var1)

class Parent:
    var1 = "1"
    var2 = "2"    
    
class Child(Parent):
    pass    
    
if __name__ == "__main__":
    main()